namespace NHCodeFirst.Convensions
{
    using Enums;

    public class Convension
    {
        public Convension()
        {
            Schema = "dbo";
            BatchSize = null;
            Id = new IdConvension();
            Id.Name = "ID";
            Id.Generator = IdGenerator.Native;
            Collection = new CollectionConversion();
            Collection.Lazy = true;
            Collection.Inverse = false;
            Collection.Type = CollectionType.List;            
        }

        public string Schema { get; set; }
        public int? BatchSize { get; set; }
        public IdConvension Id { get; set; }
        public CollectionConversion Collection { get; set; }
    }
}